cmake_minimum_required(VERSION 3.0.0)
project(opencv_test VERSION 0.1.0 LANGUAGES C CXX)

find_package(OpenCV REQUIRED)
include(CTest)
enable_testing()
include_directories(${OpenCV_INCLUDE_DIRS})
add_executable(opencv_test test1.cpp)
target_link_libraries(opencv_test
    ${OpenCV_LIBS})
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
